File manager - Edit - /home/autoph/public_html/projects/tickets-autohub/vendor/livewire/livewire/src/Features/SupportRootElementTracking.php
Back
<?php namespace Livewire\Features; use Livewire\Livewire; class SupportRootElementTracking { static function init() { return new static; } function __construct() { Livewire::listen('component.dehydrate.initial', function ($component, $response) { if (! $html = data_get($response, 'effects.html')) return; data_set($response, 'effects.html', $this->addComponentEndingMarker($html, $component)); }); } public function addComponentEndingMarker($html, $component) { return $html."\n<!-- Livewire Component wire-end:".$component->id.' -->'; } public static function stripOutEndingMarker($html) { return preg_replace('/<!-- Livewire Component wire-end:.*? -->/', '', $html); } }
| ver. 1.4 |
.
| PHP 8.1.32 | Generation time: 0.11 |
proxy
|
phpinfo
|
Settings